package com.zr.share.config;

/**
 * @ClassName ErrorMassage
 * @Description 存放错误信息的类
 * @Author 马家奎
 * @Date 2019/11/8 10:52
 */
public class ErrorMassage {
    //错误信息
    public final static String ID_NOT_NULL = "id不能为空";
    public final static String CODE_NOT_REPETITION = "编码不能重复";
    public final static String NAME_NOT_REPETITION = "名称不能重复";
    public final static String NAME_NOT_NULL = "名称不能为空";
    public final static String STATUS_NOT_NOLL = "状态不能为空";
    public final static String CODE_NOT_NULL = "编码不能为空";
    public final static String UPDATE_NOT_EXIST = "被修改不存在";
    //状态信息合计
    public final static String OPEN_STATUS = "启用";
    public final static String CLOSE_STATUS = "禁用";

    public static final String UPDATE_STATUS_MUST_CLOSE = "修改时，状态必须禁止";


    public static final String PLEASE_FLUSH = "请刷新后重试";
    //验证询价模块
    public static final String CURRENCY_CODE_NOT_NULL = "询价币别不能为空";
    public static final String INQUIRY_STATUS_NOT_NULL = "询价状态不能为空";
    public static final String LEGAL_PERSON_ID_NOT_NULL = "法人id不能为空";
    public static final String TYPE_NOT_NULL = "询价类型不能为空";
    public static final String IS_TAX_NOT_NULL = "询价含税不正确";

    public static final String START_TIME_NOT_NULL = "询价开始时间不能为空";
    public static final String END_TIME_NOT_NULL = "询价结束时间不能为空";
    public static final String INQUIRY_DETAILS_LIST_NOT_NULL = "至少要选择一个备件";
    public static final String SUPPLIER_DETAILS_LIST_NOT_NULL = "至少要有一个供应商被选择";
    public static final String LEGAL_PERSON_NOT_EXIST = "法人不存在";
    public static final String INQUIRY_TYPE_NOT_EXIST = "询价类型不存在";
    public static final String INQUIRY_CURRENCY_NOT_EXIST = "询价币别不存在";
    public static final String START_TIME_MUST_PRECEDE_END_TIME = "开始时间必须在结束时间之前";
    public static final String SPARE_REPETITION = "存在重复的备件信息，重复的备件信息为";
    public static final String SPARE_NOT_EXIST_PARTNER = "号备件没有合法的供应商，其合法的供应商为：";
    public static final String PARTNER_REPETITION = "存在重复的供应商信息，重复的供应商编号为";
    public static final String PARTNER_NOT_EXIST = "供应商不存在";
    public static final String SPARE_NOT_EXIST = "备件不存在";
    public static final String PARTNER_NOT_EXIST_SPARE ="号供应商没有合法的备件，其生产的备件为：";
    public static final String SPARE_CODE_NOT_NULL = "备件编码不能为空";
    public static final String SPARE_NAME_NOT_NULL = "备件名称不能为空";
    public static final String SPARE_INQUIRY_NOT_NULL = "备件所属订单号不能为空";
    public static final String SPARE_DELIVERY_CYCLE_NOT_NULL = "交货周期不能为空";
    public static final String SPARE_NUMBER_NOT_NULL = "交货数量不能为空";
    public static final String SPARE_MOQ_NOT_NULL = "备件MOQ不能为空";
    public static final String INQUIRY_REQUEST_FOR_QUOTATION_ID = "询价单号不能为空";
    public static final String FILE_TYPE_NOT_SUPPORT = "导入模板版本不正确！仅支持2007版本的EXCEL版本！";
    public static final String FILE_NOT_BE_FOUND = "文件没有被发现";
    public static final String INQUIRY_TEMPLATE = "询价单导入模板";
    public static final String TEMPLATE_ERROR = "模板错误，请检查模板";
    public static final String TEXT_FORMAT_ERROR = "请检查格式，格式必须为文本格式！";
    public static final String SPARE_CODE_TOO_LONG = "备件编码长度过长！不能大于50个字节";
    public static final String SPARE_NAME_TOO_LONG = "备件名称长度过长！不能大于50个字节";
    public static final String PLAN_CLASS_TEMPLATE = "计划大类模板";
}
